package com.yeyks.consumer.param.UserMemberCard;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserMemberCardRechargePayParam {

    @ApiModelProperty(hidden = true)
    private Integer userId;
    private Integer cardType = 1;
    @NotNull(message = "订单id不能为空")
    private Integer orderId;
    @ApiModelProperty("付款方式(wxpay, alipay, xcx, gzh)")
    @NotBlank(message = "付款方式不能为空")
    private String type;
    private String openId;
    @ApiModelProperty(hidden = true)
    private String ip;

}
